package com.wf.DouDiZhuOL.net.http;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

public class HttpInHandler extends ChannelInboundHandlerAdapter{
	public HttpInHandlerImp httpInHandlerImp;
	public HttpInHandler() 
	{
		super();
		httpInHandlerImp = new HttpInHandlerImp();
	}
	
	@Override
	public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
		httpInHandlerImp.channelRead(ctx, msg);
	}

	@Override
	public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
		httpInHandlerImp.exceptionCaught(ctx, cause);
	}
	
}
